package com.tsd.jxc.fin.dao;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.fin.entity.JxcFinanceQue;
import com.tsd.jxc.fin.entity.JxcFinanceQueExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcFinanceQueMapper
 *
 * @author Hillpool
 * @date 2022/09/02 16:42:56
 */
public interface JxcFinanceQueMapper {

    JxcFinanceQue selectByPrimaryKey(Long id);

    JxcFinanceQueExt selectBySid(String sid);

    int deleteByPrimaryKey(Long id);

    int insert(JxcFinanceQue record);

    int insertSelective(JxcFinanceQue record);

    int updateByPrimaryKey(JxcFinanceQue record);

    int updateByPrimaryKeySelective(JxcFinanceQue record);

    List<JxcFinanceQueExt> selectByEntity(JxcFinanceQueExt record);

    List<JxcFinanceQueExt> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcFinanceQueExt> selectCount1Page(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcFinanceQueExt> selectByParams(@Param("params") Map<String, Object> params);

    List<JxcFinanceQueExt> select4Proc(@Param("greater_than_id") Long greater_than_id, @Param("size") int size);
}